package com.aaa.enums;

import com.aaa.entity.A1Entity;
import com.aaa.entity.TSetAncientSingletonAllocation;
import com.aaa.entity.TSetStandardMoneyLibraryInformation;
import com.aaa.service.TSetAncientSingletonAllocationService;
import com.aaa.service.TSetStandardMoneyLibraryInformationService;
import com.aaa.service.impl.A1ServiceImpl;
import com.aaa.service.impl.TSetAncientSingletonAllocationServiceImpl;
import com.baomidou.mybatisplus.extension.service.IService;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import org.apache.poi.ss.formula.functions.T;

/**
 * @author : luoBo
 */


@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum SyncNationReportEnum {

    /**
     * 古法单件调拨码表
     */
    ANCIENT_SINGLETON_ALLOCATION("ANCIENT_SINGLETON_ALLOCATION",
            "古法单件调拨码表",
            "/api/setAncientSingletonAllocationApi/getUpdateDateTime",
            TSetAncientSingletonAllocation.class,
            TSetAncientSingletonAllocationService.class,
            "update_time"
            ,"identity"),

    STANDARD_MONEY_LIBRARY_INFORMATION("STANDARD_MONEY_LIBRARY_INFORMATION",
            "标准款库信息表",
            "/api/standardMoneyLibraryInformation/getUpdateDateTime",
            TSetStandardMoneyLibraryInformation.class,
            TSetStandardMoneyLibraryInformationService.class,
            "update_time",
            "identity")

    ;

    /**
     * 同步code
     */
    private String syncNationReportCode;

    /**
     * 同步名称
     */
    private String syncNationReportName;

    /**
     * url
     */
    private String syncNationReportUrl;

    /**
     * 需要放入的实体类
     */
    private Class entityClazz;

    /**
     * 需要放入的实体
     */
    private Class serviceClazz;

    /**
     * 最大同步时间的名字
     */
    private String maxTimeName;

    /**
     * 唯一键的名字
     */
    private String uniqueKeyName;


}
